import request from '@/utils/request'

// 查询fo_storage_relationship列表
export function listStorage_relationship(query) {
  return request({
    url: '/yipaiju/storage_relationship/list',
    method: 'get',
    params: query
  })
}

// 查询fo_storage_relationship详细
export function getStorage_relationship(id) {
  return request({
    url: '/yipaiju/storage_relationship/' + id,
    method: 'get'
  })
}

// 新增fo_storage_relationship
export function addStorage_relationship(data) {
  return request({
    url: '/yipaiju/storage_relationship',
    method: 'post',
    data: data
  })
}

// 修改fo_storage_relationship
export function updateStorage_relationship(data) {
  return request({
    url: '/yipaiju/storage_relationship',
    method: 'put',
    data: data
  })
}

// 删除fo_storage_relationship
export function delStorage_relationship(id) {
  return request({
    url: '/yipaiju/storage_relationship/' + id,
    method: 'delete'
  })
}
